
<script setup>

import { ref, computed } from "vue"
const scoreList = ref([1,2,60, 90, 100, 101])
const betterList = computed(() => {
  return scoreList.value.filter(item => item >= 60)
})
setTimeout(() => {
  scoreList.value.push(70)
}, 3000)
</script>

<template>
  <div>
    <p>{{scoreList}}</p>
    <p>{{betterList}}</p>
  </div>
</template>

